package org.example.myframework.frame.demo.designPattern.filterPattern;

public class WordCountArticleFilter extends BaseArticleFilter{
    @Override
    public boolean doFilter(ArticleContext articleContext) {
        Article article = articleContext.getArticle();
        String wordCount = article.getWordCount();
        if (wordCount != null) {
            return true;
        } else {
            return false;
        }
    }
}
